diff options
Diffstat (limited to 'src/routes/(app)/[username]')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 48 |
1 files changed, 23 insertions, 25 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index bd9537b1..7de6ec37 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -40,34 +40,32 @@ {/each} </div> - <div class="flex justify-center gap-2"> - <a href={`/account/savings`} class="contents"> - <button - class="rounded-2xl py-5 px-6 hover:opacity-80 flex w-full justify-center bg-primary" - > - <div class="mx-auto flex gap-2"> - <Icon icon="plus" style="w-8 mx-auto" /> - <div class="my-auto text-xl whitespace-nowrap"> - {$t("accounts.addAccount")} - </div> + <a href={`/account/savings`} class="contents"> + <button + class="rounded-2xl py-5 px-6 hover:opacity-80 flex w-full justify-center bg-primary" + > + <div class="mx-auto flex gap-2"> + <Icon icon="plus" style="w-8 mx-auto" /> + <div class="my-auto text-xl whitespace-nowrap"> + {$t("accounts.addAccount")} </div> - </button> - </a> + </div> + </button> + </a> - {#if $installPrompt} - <button - class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex bg-black text-white xl:hidden w-full justify-center" - on:click={install} - > - <div class="mx-auto flex gap-2"> - <Icon icon="save" style="w-8 mx-auto invert" /> - <div class="my-auto text-xl whitespace-nowrap"> - {$t("user.install")} - </div> + {#if $installPrompt} + <button + class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex bg-black text-white xl:hidden w-full justify-center" + on:click={install} + > + <div class="mx-auto flex gap-2"> + <Icon icon="save" style="w-8 mx-auto invert" /> + <div class="my-auto text-xl whitespace-nowrap"> + {$t("user.install")} </div> - </button> - {/if} - </div> + </div> + </button> + {/if} {/if} <Items {items} {subject} {user} {total} {currency} {rate} /> |
